/**
 * Create by CaoWenjian
 *
 * @copyRight: 2018
 **/
package com.bjboot.caocao.common.Task;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 *@Description 系统测试job
 *@Author 操文健
 *@Date 2018-09-20 下午4:21
 *@Version 1.0
 **/
@Component
public class BJSysJobTest implements Job {

    private final Logger logger = LoggerFactory.getLogger(BJSysJobTest.class);

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        logger.info("开始进行定时任务....");
        // 此处进行业务方法调用
        logger.info("定时任务运行结束....");

    }
}
